YayExtra\Classes\ProductPage D

Total Complexity 607
Dependencies 3
Dependents 1
Total lines 2,058
Lines of code 1,589
Logical lines of code 918
Comment lines 281
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
get_logic_action_result()
D
17
95 193
validate_option_fields()
D
17
76 224
display_option_on_orders_and_emails()
C
34 30 81
update_cart_option_item()
C
35 28 74
add_extra_product_in_cart()
C
40 28 55
display_option_on_cart_and_checkout()
C
34 26 83
get_options_with_stock_in_cart()
C
38 26 65
add_extra_product()
C
38 26 65
checkout_update_after_created_order()
C
39 24 63
add_cart_item_option_data()
B
37 22 67
handle_after_cart_item_quantity_update()
B
45 22 37
handle_after_cart_item_removed()
B
46 20 35
get_option_field_data()
B
41 17 53
add_fee_discount_by_action()
B
42 17 47
get_option_set_of_product()
A
44 16 44
add_options_field()
A
40 15 52
remove_extra_product_in_cart()
A
47 15 34
handle_check_cart_items()
A
46 12 35
before_calculate_totals()
A
47 11 37
print_global_style()
A
48 11 33
add_link_edit_option_field_in_minicart()
A
50 10 26
get_product_applies()
A
54 9 19
get_fee_discount_by_action()
A
52 8 24
check_logic_action()
S
53 7 24
has_edit_link_option_field()
S
58 5 17
get_all_option_of_product()
S
57 5 17
custom_mini_cart_item_class()
S
61 5 12
__construct()
S
48 3 29
custom_quantity_input_args()
S
65 4 9
is_edit_option_mode()
S
76 3 3
custom_cart_item_class()
S
70 2 6
checkout_order_exception_after_created_order()
S
73 2 5
get_instance()
S
72 2 6
handle_order_item_thumbnail()
S
82 1 3
handle_cart_item_thumbnail()
S
82 1 3
change_add_to_cart_text()
S
79 1 3
after_add_to_cart_form()
S
78 1 3
before_add_to_cart_form()
S
78 1 3